﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Himall.Entity
{
    /// <summary>
    /// 小程序列表
    /// </summary>
   public partial class WXSmallProgramInfo :BaseModel
    {
        long _id;
        public new long Id { get { return _id; } set { _id = value; base.Id = value; } }
        public long ShopId { get; set; } = 0;
        /// <summary>
        /// 小程序名称
        /// </summary>
        public string Name { get; set; } = "";
        /// <summary>
        /// 小程序图标
        /// </summary>
        public string Image { get; set; } = "";      
        /// <summary>
        /// 小程序APPID
        /// </summary>
        public string AppId { get; set; } = "";
        /// <summary>
        /// 小程序Secret
        /// </summary>
        public string AppSecret { get; set; } = "";
        /// <summary>
        /// 平台生成Key
        /// </summary>
        public string PlatOpenId { get; set; } = "";
        public string Remark { get; set; } = "";
        public string Phone { get; set; } = "";

        public virtual ICollection<WXSmallProgramCategoryInfo> WXSmallProgramCategoryInfo { get; set; } = new HashSet<WXSmallProgramCategoryInfo>();
        public virtual ICollection<WXSmallProgramBroadcastInfo> WXSmallProgramBroadcastInfo { get; set; } = new HashSet<WXSmallProgramBroadcastInfo>();
        public virtual ICollection<WXSmallChoiceProductsInfo> WXSmallChoiceProductsInfo { get; set; } = new HashSet<WXSmallChoiceProductsInfo>();
      
    }
}
